//
//  HttpTool.h
//  Weibo
//
//  Created by Anasue on 9/17/15.
//  Copyright (c) 2015 Anasue. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HttpTool : NSObject
+ (void)get:(NSString *)url params:(NSDictionary *)params success:(void(^)(id))success failure:(void (^)(NSError *))failure;
+ (void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id))success failure:(void (^)(NSError *))failure;
@end
